
#include "simple_threading.h"

SimThr_ThreadRef SimThr_CreateThread( SimThr_ThreadFunc thread, void * vpParams )
{
	pthread_t temp_thread;

	pthread_create( &temp_thread, NULL, thread, vpParams );

  return temp_thread;
}

void SimThr_WaitForThreadEnd( SimThr_ThreadRef thread )
{
  pthread_join( thread, NULL );
}
